//
//  Nuclide.m
//  MacHeliosSim
//
//  Created by Paul Thompson on 8/11/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "Nuclide.h"


@implementation Nuclide
- (id)init
{
	return [self initWithNeutronCount:0
						  ProtonCount:0
						 NucleonCount:0
						ElementSymbol:[[NSString alloc] initWithString:@"Unobtainium"]
							   DeltaM:0.0f
						  DeltaDeltaM:0.0f];
}

- (id)initWithNeutronCount:(int)theNeutronCount
			   ProtonCount:(int)theProtonCount
			  NucleonCount:(int)theNucleonCount
			   ElementSymbol:(NSString *)theElementSymbol
					DeltaM:(float)theDeltaM
			   DeltaDeltaM:(float)theDeltaDeltaM
{
	[super init];	
	neutronCount = theNeutronCount;
	protonCount = theProtonCount;
	nucleonCount = theNucleonCount;
	elementSymbol = theElementSymbol;
	deltaM = theDeltaM;
	deltaDeltaM = theDeltaDeltaM;
	return self;
}

@synthesize nucleonCount, protonCount, neutronCount, 
deltaM, deltaDeltaM, elementSymbol;

@end
